import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import TreeTable from 'vue-table-with-tree-grid'
// 富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
// 引入富文本样式
// require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
// 导入全局样式表
import './stylesheets/main.scss'
import './plugins/element.js'
import '@/utils/http.js'
import '@/assets/css/global.css'
// import echarts from 'echarts'
// 引入全局过滤器
import '@/utils/filters'
// Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.component('tree-table', TreeTable)
// 将富文本注册为全局
Vue.use(VueQuillEditor)
Vue.use(ElementUI)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
